package com.shop.atomic;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.atomic.AtomicStampedReference;
import java.util.concurrent.locks.ReentrantLock;

public class AtomicTest {



    public static void main(String[] args) {

        AtomicInteger atomicInteger = new AtomicInteger(6);
        atomicInteger.decrementAndGet();

        AtomicStampedReference<Integer> integerAtomicReference = new AtomicStampedReference<Integer>(0,1);

        ExecutorService executorService = Executors.newFixedThreadPool(1);
    }
}
